import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/get_statistice_score_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/get_statistice_score_entity.g.dart';

@JsonSerializable()
class GetStatisticeScoreEntity {
	late int createTime = 0;
	late int updateTime = 0;
	late String creator = '';
	late String updater = '';
	late bool deleted = false;
	late int id = 0;
	late int companyId = 0;
	late String companyName = '';
	late String statisticsTime = '';
	late double noAlarmScore;
	late double dealScore;
	late double timingScore;
	late double overallScore;

	GetStatisticeScoreEntity();

	factory GetStatisticeScoreEntity.fromJson(Map<String, dynamic> json) => $GetStatisticeScoreEntityFromJson(json);

	Map<String, dynamic> toJson() => $GetStatisticeScoreEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}